import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
/* eslint-disable */
Vue.config.productionTip = false
window.onresize = setHtmlFontSize;

function setHtmlFontSize() {
  const htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
  const htmlDom = document.getElementsByTagName('html')[0];
  htmlDom.style.fontSize = htmlWidth / 19.2 + 'px';
};
setHtmlFontSize();
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
